package com.xuecheng.media.domain.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-08-18  10:40
 */
@Getter
public class MediaUploadRecordEvent extends ApplicationEvent {

    private String fileMd5;

    private Integer status;

    public MediaUploadRecordEvent(Object source, String fileMd5, Integer status) {
        super(source);
        this.fileMd5 = fileMd5;
        this.status = status;
    }
}
